<template>
  <el-table :data="tableData" style="width: 100%">
    <el-table-column type="expand">
      <template>
        <el-form label-position="left" inline class="demo-table-expand">
          <el-form-item label="商品名称"> </el-form-item>
        </el-form>
      </template>
    </el-table-column>

    <el-table-column label="序号" type="index"> </el-table-column>
    <el-table-column label="菜单名称" prop="id"> </el-table-column>
    <el-table-column label="菜单级别" prop="id">
      <el-tag type="success">一级菜单</el-tag></el-table-column
    >
    <el-table-column label="菜单简介" prop="id"> </el-table-column>
    <el-table-column label="图标" prop="id"> <i class="el-icon-edit"></i></el-table-column>
    <el-table-column label="路由" prop="id"> </el-table-column>
    <el-table-column label="是否显示"> <el-tag type="success">是</el-tag></el-table-column>
    <el-table-column label="是否跳转外链"><el-tag type="success">否</el-tag> </el-table-column>
    <el-table-column label="排序" prop="id"> </el-table-column>
    <el-table-column label="操作"> </el-table-column>
  </el-table>
</template>

<script>
export default {
  data() {
    return {
      tableData: [
        {
          id: '12987122',
          name: '好滋好味鸡蛋仔',
          category: '江浙小吃、小吃零食',
          desc: '荷兰优质淡奶，奶香浓而不腻',
          address: '上海市普陀区真北路',
          shop: '王小虎夫妻店',
          shopId: '10333',
        },
        {
          id: '12987122',
        },
        {
          id: '12987122',
        },
        {
          id: '12987122',
        },
        {
          id: '12987122',
        },
        {
          id: '12987122',
        },
        {
          id: '12987122',
        },
        {
          id: '12987122',
        },
        {
          id: '12987122',
        },
      ],
    };
  },
};
</script>
